#ifndef SHADOWMAP_H
#define SHADOWMAP_H
//#include "GLee.h"
#include "common.h"
#include <GL/glu.h>
#include <iostream>
#include <cmath>
#include "GL/glext.h"
#include "GL/glut.h"
#include "GL/gl.h"
#include <stdio.h>
//assume directional light source
#include "common.h"
class shadowmap
{
public:
    shadowmap();
    void setLightView(float3 view_dir, int w, int h){
        glMatrixMode(GL_PROJECTION);
        glLoadIdentity();
        glOrtho(0,static_cast<float>(w),static_cast<float>(h),0.f,-1.f,1.f);
        glMatrixMode(GL_MODELVIEW);
        glLoadIdentity();
       // gluLookAt()
    }
};

#endif // SHADOWMAP_H
